using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace HKB.Data.Dal
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(true), System.Xml.Serialization.XmlRoot("S_PromoteProject"), System.Xml.Serialization.XmlSchemaProvider("GetTypedDataSetSchema")]
	[System.Serializable]
	public class S_PromoteProject : DataSet
	{
		public delegate void HLShop_PromoteProjectRowChangeEventHandler(object sender, S_PromoteProject.HLShop_PromoteProjectRowChangeEvent e);
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), System.Xml.Serialization.XmlSchemaProvider("GetTypedTableSchema")]
		[System.Serializable]
		public class HLShop_PromoteProjectDataTable : DataTable, System.Collections.IEnumerable
		{
			private DataColumn columnProjectID;
			private DataColumn columnProjectName;
			private DataColumn columnBeginDate;
			private DataColumn columnEndDate;
			private DataColumn columnMinMoney;
			private DataColumn columnMaxMoney;
			private DataColumn columnPresentContent;
			private DataColumn columnPrice;
			private DataColumn columnPresentID;
			private DataColumn columnCash;
			private DataColumn columnPresentExp;
			private DataColumn columnPresentPoint;
			private DataColumn columnSalerID;
			public event S_PromoteProject.HLShop_PromoteProjectRowChangeEventHandler HLShop_PromoteProjectRowChanging;
			public event S_PromoteProject.HLShop_PromoteProjectRowChangeEventHandler HLShop_PromoteProjectRowChanged;
			public event S_PromoteProject.HLShop_PromoteProjectRowChangeEventHandler HLShop_PromoteProjectRowDeleting;
			public event S_PromoteProject.HLShop_PromoteProjectRowChangeEventHandler HLShop_PromoteProjectRowDeleted;
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn ProjectIDColumn
			{
				get
				{
					return this.columnProjectID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn ProjectNameColumn
			{
				get
				{
					return this.columnProjectName;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn BeginDateColumn
			{
				get
				{
					return this.columnBeginDate;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn EndDateColumn
			{
				get
				{
					return this.columnEndDate;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn MinMoneyColumn
			{
				get
				{
					return this.columnMinMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn MaxMoneyColumn
			{
				get
				{
					return this.columnMaxMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentContentColumn
			{
				get
				{
					return this.columnPresentContent;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PriceColumn
			{
				get
				{
					return this.columnPrice;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentIDColumn
			{
				get
				{
					return this.columnPresentID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CashColumn
			{
				get
				{
					return this.columnCash;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentExpColumn
			{
				get
				{
					return this.columnPresentExp;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PresentPointColumn
			{
				get
				{
					return this.columnPresentPoint;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn SalerIDColumn
			{
				get
				{
					return this.columnSalerID;
				}
			}
			[Browsable(false), System.Diagnostics.DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_PromoteProject.HLShop_PromoteProjectRow this[int index]
			{
				get
				{
					return (S_PromoteProject.HLShop_PromoteProjectRow)base.Rows[index];
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_PromoteProjectDataTable()
			{
				base.TableName = "HLShop_PromoteProject";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_PromoteProjectDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected HLShop_PromoteProjectDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void AddHLShop_PromoteProjectRow(S_PromoteProject.HLShop_PromoteProjectRow row)
			{
				base.Rows.Add(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_PromoteProject.HLShop_PromoteProjectRow AddHLShop_PromoteProjectRow(string ProjectName, System.DateTime BeginDate, System.DateTime EndDate, decimal MinMoney, decimal MaxMoney, string PresentContent, decimal Price, string PresentID, decimal Cash, int PresentExp, int PresentPoint, int SalerID)
			{
				S_PromoteProject.HLShop_PromoteProjectRow hLShop_PromoteProjectRow = (S_PromoteProject.HLShop_PromoteProjectRow)base.NewRow();
				hLShop_PromoteProjectRow.ItemArray = new object[]
				{
					null,
					ProjectName,
					BeginDate,
					EndDate,
					MinMoney,
					MaxMoney,
					PresentContent,
					Price,
					PresentID,
					Cash,
					PresentExp,
					PresentPoint,
					SalerID
				};
				base.Rows.Add(hLShop_PromoteProjectRow);
				return hLShop_PromoteProjectRow;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_PromoteProject.HLShop_PromoteProjectRow FindByProjectID(int ProjectID)
			{
				return (S_PromoteProject.HLShop_PromoteProjectRow)base.Rows.Find(new object[]
				{
					ProjectID
				});
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public virtual System.Collections.IEnumerator GetEnumerator()
			{
				return base.Rows.GetEnumerator();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public override DataTable Clone()
			{
				S_PromoteProject.HLShop_PromoteProjectDataTable hLShop_PromoteProjectDataTable = (S_PromoteProject.HLShop_PromoteProjectDataTable)base.Clone();
				hLShop_PromoteProjectDataTable.InitVars();
				return hLShop_PromoteProjectDataTable;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new S_PromoteProject.HLShop_PromoteProjectDataTable();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnProjectID = base.Columns["ProjectID"];
				this.columnProjectName = base.Columns["ProjectName"];
				this.columnBeginDate = base.Columns["BeginDate"];
				this.columnEndDate = base.Columns["EndDate"];
				this.columnMinMoney = base.Columns["MinMoney"];
				this.columnMaxMoney = base.Columns["MaxMoney"];
				this.columnPresentContent = base.Columns["PresentContent"];
				this.columnPrice = base.Columns["Price"];
				this.columnPresentID = base.Columns["PresentID"];
				this.columnCash = base.Columns["Cash"];
				this.columnPresentExp = base.Columns["PresentExp"];
				this.columnPresentPoint = base.Columns["PresentPoint"];
				this.columnSalerID = base.Columns["SalerID"];
			}
			[System.Diagnostics.DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnProjectID = new DataColumn("ProjectID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnProjectID);
				this.columnProjectName = new DataColumn("ProjectName", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnProjectName);
				this.columnBeginDate = new DataColumn("BeginDate", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnBeginDate);
				this.columnEndDate = new DataColumn("EndDate", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnEndDate);
				this.columnMinMoney = new DataColumn("MinMoney", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnMinMoney);
				this.columnMaxMoney = new DataColumn("MaxMoney", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnMaxMoney);
				this.columnPresentContent = new DataColumn("PresentContent", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnPresentContent);
				this.columnPrice = new DataColumn("Price", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnPrice);
				this.columnPresentID = new DataColumn("PresentID", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnPresentID);
				this.columnCash = new DataColumn("Cash", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnCash);
				this.columnPresentExp = new DataColumn("PresentExp", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnPresentExp);
				this.columnPresentPoint = new DataColumn("PresentPoint", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnPresentPoint);
				this.columnSalerID = new DataColumn("SalerID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnSalerID);
				base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[]
				{
					this.columnProjectID
				}, true));
				this.columnProjectID.AutoIncrement = true;
				this.columnProjectID.AllowDBNull = false;
				this.columnProjectID.ReadOnly = true;
				this.columnProjectID.Unique = true;
				this.columnProjectName.MaxLength = 50;
				this.columnPresentContent.MaxLength = 1073741823;
				this.columnPresentID.MaxLength = 1073741823;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_PromoteProject.HLShop_PromoteProjectRow NewHLShop_PromoteProjectRow()
			{
				return (S_PromoteProject.HLShop_PromoteProjectRow)base.NewRow();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new S_PromoteProject.HLShop_PromoteProjectRow(builder);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override System.Type GetRowType()
			{
				return typeof(S_PromoteProject.HLShop_PromoteProjectRow);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.HLShop_PromoteProjectRowChanged != null)
				{
					this.HLShop_PromoteProjectRowChanged(this, new S_PromoteProject.HLShop_PromoteProjectRowChangeEvent((S_PromoteProject.HLShop_PromoteProjectRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.HLShop_PromoteProjectRowChanging != null)
				{
					this.HLShop_PromoteProjectRowChanging(this, new S_PromoteProject.HLShop_PromoteProjectRowChangeEvent((S_PromoteProject.HLShop_PromoteProjectRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.HLShop_PromoteProjectRowDeleted != null)
				{
					this.HLShop_PromoteProjectRowDeleted(this, new S_PromoteProject.HLShop_PromoteProjectRowChangeEvent((S_PromoteProject.HLShop_PromoteProjectRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.HLShop_PromoteProjectRowDeleting != null)
				{
					this.HLShop_PromoteProjectRowDeleting(this, new S_PromoteProject.HLShop_PromoteProjectRowChangeEvent((S_PromoteProject.HLShop_PromoteProjectRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void RemoveHLShop_PromoteProjectRow(S_PromoteProject.HLShop_PromoteProjectRow row)
			{
				base.Rows.Remove(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
			{
				System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
				System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
				S_PromoteProject s_PromoteProject = new S_PromoteProject();
				xs.Add(s_PromoteProject.GetSchemaSerializable());
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny2 = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = s_PromoteProject.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute2 = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "HLShop_PromoteProjectDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				return xmlSchemaComplexType;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_PromoteProjectRow : DataRow
		{
			private S_PromoteProject.HLShop_PromoteProjectDataTable tableHLShop_PromoteProject;
			[System.Diagnostics.DebuggerNonUserCode]
			public int ProjectID
			{
				get
				{
					return (int)base[this.tableHLShop_PromoteProject.ProjectIDColumn];
				}
				set
				{
					base[this.tableHLShop_PromoteProject.ProjectIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string ProjectName
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_PromoteProject.ProjectNameColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“ProjectName”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.ProjectNameColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime BeginDate
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHLShop_PromoteProject.BeginDateColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“BeginDate”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.BeginDateColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime EndDate
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHLShop_PromoteProject.EndDateColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“EndDate”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.EndDateColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal MinMoney
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_PromoteProject.MinMoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“MinMoney”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.MinMoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal MaxMoney
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_PromoteProject.MaxMoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“MaxMoney”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.MaxMoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string PresentContent
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_PromoteProject.PresentContentColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“PresentContent”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.PresentContentColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal Price
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_PromoteProject.PriceColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“Price”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.PriceColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string PresentID
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_PromoteProject.PresentIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“PresentID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.PresentIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal Cash
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_PromoteProject.CashColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“Cash”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.CashColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int PresentExp
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_PromoteProject.PresentExpColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“PresentExp”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.PresentExpColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int PresentPoint
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_PromoteProject.PresentPointColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“PresentPoint”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.PresentPointColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int SalerID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_PromoteProject.SalerIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_PromoteProject”中列“SalerID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_PromoteProject.SalerIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_PromoteProjectRow(DataRowBuilder rb) : base(rb)
			{
				this.tableHLShop_PromoteProject = (S_PromoteProject.HLShop_PromoteProjectDataTable)base.Table;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsProjectNameNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.ProjectNameColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetProjectNameNull()
			{
				base[this.tableHLShop_PromoteProject.ProjectNameColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsBeginDateNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.BeginDateColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetBeginDateNull()
			{
				base[this.tableHLShop_PromoteProject.BeginDateColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsEndDateNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.EndDateColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetEndDateNull()
			{
				base[this.tableHLShop_PromoteProject.EndDateColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsMinMoneyNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.MinMoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetMinMoneyNull()
			{
				base[this.tableHLShop_PromoteProject.MinMoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsMaxMoneyNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.MaxMoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetMaxMoneyNull()
			{
				base[this.tableHLShop_PromoteProject.MaxMoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentContentNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.PresentContentColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentContentNull()
			{
				base[this.tableHLShop_PromoteProject.PresentContentColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPriceNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.PriceColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPriceNull()
			{
				base[this.tableHLShop_PromoteProject.PriceColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentIDNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.PresentIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentIDNull()
			{
				base[this.tableHLShop_PromoteProject.PresentIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCashNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.CashColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCashNull()
			{
				base[this.tableHLShop_PromoteProject.CashColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentExpNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.PresentExpColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentExpNull()
			{
				base[this.tableHLShop_PromoteProject.PresentExpColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPresentPointNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.PresentPointColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPresentPointNull()
			{
				base[this.tableHLShop_PromoteProject.PresentPointColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsSalerIDNull()
			{
				return base.IsNull(this.tableHLShop_PromoteProject.SalerIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetSalerIDNull()
			{
				base[this.tableHLShop_PromoteProject.SalerIDColumn] = System.Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_PromoteProjectRowChangeEvent : System.EventArgs
		{
			private S_PromoteProject.HLShop_PromoteProjectRow eventRow;
			private DataRowAction eventAction;
			[System.Diagnostics.DebuggerNonUserCode]
			public S_PromoteProject.HLShop_PromoteProjectRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_PromoteProjectRowChangeEvent(S_PromoteProject.HLShop_PromoteProjectRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private S_PromoteProject.HLShop_PromoteProjectDataTable tableHLShop_PromoteProject;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.Diagnostics.DebuggerNonUserCode]
		public S_PromoteProject.HLShop_PromoteProjectDataTable HLShop_PromoteProject
		{
			get
			{
				return this.tableHLShop_PromoteProject;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), System.Diagnostics.DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public S_PromoteProject()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected S_PromoteProject(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
					if (dataSet.Tables["HLShop_PromoteProject"] != null)
					{
						base.Tables.Add(new S_PromoteProject.HLShop_PromoteProjectDataTable(dataSet.Tables["HLShop_PromoteProject"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public override DataSet Clone()
		{
			S_PromoteProject s_PromoteProject = (S_PromoteProject)base.Clone();
			s_PromoteProject.InitVars();
			s_PromoteProject.SchemaSerializationMode = this.SchemaSerializationMode;
			return s_PromoteProject;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void ReadXmlSerializable(System.Xml.XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["HLShop_PromoteProject"] != null)
				{
					base.Tables.Add(new S_PromoteProject.HLShop_PromoteProjectDataTable(dataSet.Tables["HLShop_PromoteProject"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override System.Xml.Schema.XmlSchema GetSchemaSerializable()
		{
			System.IO.MemoryStream memoryStream = new System.IO.MemoryStream();
			base.WriteXmlSchema(new System.Xml.XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(memoryStream), null);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableHLShop_PromoteProject = (S_PromoteProject.HLShop_PromoteProjectDataTable)base.Tables["HLShop_PromoteProject"];
			if (initTable)
			{
				if (this.tableHLShop_PromoteProject != null)
				{
					this.tableHLShop_PromoteProject.InitVars();
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "S_PromoteProject";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/S_PromoteProject.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableHLShop_PromoteProject = new S_PromoteProject.HLShop_PromoteProjectDataTable();
			base.Tables.Add(this.tableHLShop_PromoteProject);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private bool ShouldSerializeHLShop_PromoteProject()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
		{
			S_PromoteProject s_PromoteProject = new S_PromoteProject();
			System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
			System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
			xs.Add(s_PromoteProject.GetSchemaSerializable());
			System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
			xmlSchemaAny.Namespace = s_PromoteProject.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			return xmlSchemaComplexType;
		}
	}
}
